<%@ page import="org.openehr.am.openehrprofile.datatypes.text.*" %>
<%@ page import="org.openehr.am.openehrprofile.datatypes.basic.*" %>
<%@ page import="org.openehr.am.openehrprofile.datatypes.quantity.*" %>


// in: cDomainType (${cDomainType.class}) (${cDomainType.rmTypeName})<br/>

<b>${cDomainType.path()}</b>

  <g:if test="${cDomainType instanceof CCodePhrase}">
      <g:render template="templates/cCodePhrase"
                model="[cCodePhrase: cDomainType, archetype: archetype, archetypeService:archetypeService]" />
  </g:if>
  <g:if test="${cDomainType instanceof CDvOrdinal}">
      <g:render template="templates/cDvOrdinal"
                model="[cDvOrdinal: cDomainType, archetype: archetype, archetypeService:archetypeService]" />
  </g:if>
  <g:if test="${cDomainType instanceof CDvQuantity}">
      <g:render template="templates/cDvQuantity"
                model="[cDvQuantity: cDomainType, archetype: archetype, archetypeService:archetypeService]" />
  </g:if>
